package com.example.user.api;


import com.example.user.bean.UserEntity;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface UserApi {

    @FormUrlEncoded
    @POST("hornetUser/login")
    Observable<UserEntity> login(@Field("username") String username, @Field("user_password") String pwd);

}
